package com.ruoyi.web.controller.system.Fdongbei;


import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.system.Fdongbei.service.ITbYmjgService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

import static com.ruoyi.common.core.domain.AjaxResult.success;
import static com.ruoyi.common.core.domain.R.ok;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author fufeng
 * @since 2024-12-11
 */
@RestController
@RequestMapping("/system/Fdongbei/tb-ymjg")
public class TbYmjgController {


    @Resource
    ITbYmjgService iTbYmjgService;

    @GetMapping("/selectymjg")
    public AjaxResult selectymjg(@RequestParam("WERKS")String WERKS, @RequestParam(value = "ZCONTRACT", required = false, defaultValue = "") String ZCONTRACT){
        return success(iTbYmjgService.selectymjg(WERKS,ZCONTRACT));
    }

}

